package cc.iotkit.system.service.impl;

import cc.iotkit.data.system.IBasAreaData;
import cc.iotkit.data.system.IBasMaintenanceUnitData;
import cc.iotkit.model.bas.BasAreaRecord;
import cc.iotkit.model.bas.BasMaintenanceUnit;
import cc.iotkit.system.service.IBasAreaService;
import cc.iotkit.system.service.IBasMaintenanceUnitService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

@RequiredArgsConstructor
@Service
public class BasMaintenanceUnitServiceImpl implements IBasMaintenanceUnitService {
    private final IBasMaintenanceUnitData data;

    @Override
    public List<BasMaintenanceUnit> getList(BasMaintenanceUnit query) {
        return data.findByConditions(query);
    }
}
